\section{DBUtility.Common$<$ T $>$模板类参考}
\label{class_d_b_utility_1_1_common-g}\index{DBUtility::Common-\/g@{DBUtility::Common-\/g}}
\subsection*{静态公有成员}
\begin{DoxyCompactItemize}
\item 
static T {\bf Dt2Model} (T obj, DataTable dt)
\begin{DoxyCompactList}\small\item\em 将DataTable转换成Model实体 \item\end{DoxyCompactList}\item 
static IList$<$ T $>$ {\bf Dt2List} (DataTable dt)
\begin{DoxyCompactList}\small\item\em 将DataTable转换成IList \item\end{DoxyCompactList}\item 
static string[$\,$] {\bf GetModelInfo} (T obj)
\begin{DoxyCompactList}\small\item\em 通过反射获得对象名称和自动增长ID \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsubsection*{template$<$T$>$ class DBUtility::Common$<$ T $>$}



\subsection{成员函数文档}
\index{DBUtility::Common-\/g@{DBUtility::Common-\/g}!Dt2List@{Dt2List}}
\index{Dt2List@{Dt2List}!DBUtility::Common-g@{DBUtility::Common-\/g}}
\subsubsection[{Dt2List}]{\setlength{\rightskip}{0pt plus 5cm}template$<$T $>$ static IList$<$T$>$ {\bf DBUtility.Common}$<$ T $>$.Dt2List (
\begin{DoxyParamCaption}
\item[{DataTable}]{ dt}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_d_b_utility_1_1_common-g_a9fbeb5afb1a99900e9ff963da008a04c}


将DataTable转换成IList 


\begin{DoxyParams}{参数}
{\em dt} & 要转换的DataTable\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回IList
\end{DoxyReturn}
\index{DBUtility::Common-\/g@{DBUtility::Common-\/g}!Dt2Model@{Dt2Model}}
\index{Dt2Model@{Dt2Model}!DBUtility::Common-g@{DBUtility::Common-\/g}}
\subsubsection[{Dt2Model}]{\setlength{\rightskip}{0pt plus 5cm}template$<$T $>$ static T {\bf DBUtility.Common}$<$ T $>$.Dt2Model (
\begin{DoxyParamCaption}
\item[{T}]{ obj, }
\item[{DataTable}]{ dt}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_d_b_utility_1_1_common-g_af05bb711738fdf4d922e5655bab18a23}


将DataTable转换成Model实体 


\begin{DoxyParams}{参数}
{\em obj} & Model名称\\
\hline
{\em dt} & DataTable\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{DBUtility::Common-\/g@{DBUtility::Common-\/g}!GetModelInfo@{GetModelInfo}}
\index{GetModelInfo@{GetModelInfo}!DBUtility::Common-g@{DBUtility::Common-\/g}}
\subsubsection[{GetModelInfo}]{\setlength{\rightskip}{0pt plus 5cm}template$<$T $>$ static string [$\,$] {\bf DBUtility.Common}$<$ T $>$.GetModelInfo (
\begin{DoxyParamCaption}
\item[{T}]{ obj}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_d_b_utility_1_1_common-g_a6ca599f182a06646e376e13b4f7230ef}


通过反射获得对象名称和自动增长ID 


\begin{DoxyParams}{参数}
{\em obj} & 对象\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回string[0]类名，string[1]自增ID
\end{DoxyReturn}


该类的文档由以下文件生成：\begin{DoxyCompactItemize}
\item 
D:/Project/1101/DBUtility/Common.cs\end{DoxyCompactItemize}
